package com.kalix.training.genre.entities;

import com.kalix.framework.core.api.persistence.PersistentEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 课程类别实体类
 */
@Entity
@Table(name = "mooc_courseCategory")
public class GenreBean extends PersistentEntity {
    private String name; //类别名称
    @Column(columnDefinition = "text")
    private String url; //类别图片

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
